package com.campusbackend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 学生技能特长VO
 * </p>
 *
 * @author yezi
 * @since 2025-07-29
 */
@Data
@Schema(name = "StudentSkillVO", description = "学生技能特长VO")
public class StudentSkillVO {

    @Schema(description = "学生ID")
    private Long studentId;

    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "学号")
    private String studentNumber;

    @Schema(description = "学院")
    private String college;

    @Schema(description = "技能特长列表")
    private List<SkillInfo> skills;

    @Schema(description = "技能总数")
    private Integer skillCount;

    /**
     * 技能信息
     */
    @Data
    @Schema(name = "SkillInfo", description = "技能信息")
    public static class SkillInfo {
        
        @Schema(description = "技能ID")
        private Long skillId;
        
        @Schema(description = "技能名称")
        private String skillName;
        
        @Schema(description = "技能分类")
        private String skillCategory;
        
        @Schema(description = "技能描述")
        private String description;
        
        @Schema(description = "熟练程度：1-初级，2-中级，3-高级")
        private Byte proficiencyLevel;
        
        @Schema(description = "熟练程度描述")
        private String proficiencyLevelDesc;
        
        @Schema(description = "掌握时间（添加技能的时间）")
        private LocalDateTime createTime;
    }
}
